<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 公共样式头 -->
</head>
<body>
<nav th:replace="common :: role-nav(userRole=${#session.userRole})"></nav>

<div class="container">
    <h2>欢迎客户 [[${username}]]</h2>
    <!-- 客户专属功能 -->
    <div class="row">
        <div class="col-md-4">
            <a href="/customer/parcel" class="btn btn-primary btn-block">我的包裹</a>
        </div>
        <div class="col-md-4">
            <a href="/customer/history" class="btn btn-info btn-block">物流历史</a>
        </div>
    </div>
</div>
</body>
</html>